package com.example.doctorstation.POJOMapper;

import com.example.doctorstation.POJOData.Department;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DepartmentMapper {
    //得到所有病区名称
    @Select("select * from config_department")
    public List<Department> findAll();
}
